<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
  <meta content="text/html; charset=utf-8" http-equiv="CONTENT-TYPE">
  <link rel="StyleSheet" href="../res/fit.css" type="text/css" media="screen, print">
  <title>List Adapters Spec</title>
</head><body>
<h1>List Adapter Specs</h1>
<p>
You can enter lists of FIT types inside cells.
<FONT COLOR="RED">TODO: add blank and how to enter empty list and string and html to text</FONT>
</p>

<table>
  <tbody>
    <tr><td colspan="2"><b>FIT.Specify</b></td></tr>
    <tr>
      <td>
        <table><tbody>
          <tr><td colspan="2"><b>FIT.eg.DoubleListOfNum</b></td></tr>
          <tr><td> <i>list</i> </td><td> <i>double?</i> </td></tr>
          <tr><td> 1, 2, 3     </td><td> 2, 4, 6        </td></tr>
          <tr><td> 4.1         </td><td> 8.200          </td></tr>
          <tr><td> 4.1, 0      </td><td> 8.200, 0.00    </td></tr>
          <tr><td> 1, 2, 3     </td><td> ¿              </td></tr>
          <tr><td> 1, 2, 3     </td><td> 1              </td></tr>
          <tr><td> 1, 2, 3     </td><td> 2              </td></tr>
          <tr><td> 1, 2, 3     </td><td> 2, 3           </td></tr>
          <tr><td> 1, 2, 3     </td><td> 2, 3, 6        </td></tr>
          <tr><td> 1, 2, 3     </td><td> 2, 4, 6, 8     </td></tr>
          <tr><td> FOO         </td><td> BAR, 2, 3      </td></tr>
        </tbody></table>
      </td>
      <td>
        <table><tbody>
            <tr><td colspan="2"><b>FIT.eg.DoubleListOfNum</b></td></tr>
            <tr><td> <i>list</i> </td><td>                   <i>double?</i> </td></tr>
            <tr><td> 1, 2, 3     </td><td class="fit_right"> 2, 4, 6        </td></tr>
            <tr><td> 4.1         </td><td class="fit_right"> 8.200          </td></tr>
            <tr><td> 4.1, 0      </td><td class="fit_right"> 8.200, 0.00    </td></tr>
            <tr><td> 1, 2, 3     </td><td class="fit_note">  2, 4, 6        </td></tr>

            <tr><td>1, 2, 3</td> 
              <td class="fit_wrong">
                1 <span class="fit_wrong_note">expected</span>
                <hr/>
                2, 4, 6 <span class="fit_wrong_note">actual</span>
              </td>
            </tr>

            <tr><td>1, 2, 3</td> 
              <td class="fit_wrong">
                2 <span class="fit_wrong_note">expected</span>
                <hr/>
                2, 4, 6 <span class="fit_wrong_note">actual</span>
              </td>
            </tr>

            <tr><td>1, 2, 3</td> 
              <td class="fit_wrong">
                2, 3 <span class="fit_wrong_note">expected</span>
                <hr/>
                2, 4, 6 <span class="fit_wrong_note">actual</span>
              </td>
            </tr>

            <tr><td>1, 2, 3</td> 
              <td class="fit_wrong">
                2, 3, 6 <span class="fit_wrong_note">expected</span>
                <hr/>
                2, 4, 6 <span class="fit_wrong_note">actual</span>
              </td>
            </tr>

            <tr><td>1, 2, 3</td> 
              <td class="fit_wrong">
                2, 4, 6, 8 <span class="fit_wrong_note">expected</span>
                <hr/>
                2, 4, 6 <span class="fit_wrong_note">actual</span>
              </td>
            </tr>

            <tr>
                <td class="fit_error">ERROR</td> 
                <td class="fit_error">ERROR</td> 
            </tr>

        </tbody></table>
      </td>
    </tr>
  </tbody>
</table>

<br/>

<table>
  <tbody>
    <tr><td colspan="2"><b>FIT.Specify</b></td></tr>
    <tr>
      <td>
        <table><tbody>
          <tr><td colspan="2"><b>FIT.eg.NegatedListOfBool</b></td></tr>
          <tr><td> <i>list</i> </td><td> <i>negated?</i> </td></tr>
          <tr><td> T, T, F     </td><td> F, F, T        </td></tr>
          <tr><td> yes, +, 1   </td><td> false, F, 0    </td></tr>
          <tr><td> true, 0     </td><td> ¿              </td></tr>
          <tr><td> -           </td><td> no             </td></tr>
        </tbody></table>
      </td>
      <td>
        <table><tbody>
            <tr><td colspan="2"><b>FIT.eg.NegatedListOfBool</b></td></tr>
            <tr><td> <i>list</i> </td><td>                   <i>negated?</i> </td></tr>
            <tr><td> T, T, F     </td><td class="fit_right"> F, F, T        </td></tr>
            <tr><td> yes, +, 1   </td><td class="fit_right"> false, F, 0    </td></tr>
            <tr><td> true, 0     </td><td class="fit_note">  false, true    </td></tr>
            <tr><td>-</td> 
              <td class="fit_wrong">
                no <span class="fit_wrong_note">expected</span>
                <hr/>
                true <span class="fit_wrong_note">actual</span>
              </td>
            </tr>
        </tbody></table>
      </td>
    </tr>
  </tbody>
</table>

<br/>

<table>
  <tbody>
    <tr><td colspan="2"><b>FIT.Specify</b></td></tr>
    <tr>
      <td>
        <table><tbody>
          <tr><td colspan="3"><b>FIT.eg.HeadListOfStr</b></td></tr>
          <tr><td> <i>list</i> </td><td></td><td> <i>head?</i></td></tr>
          <tr><td>             </td><td></td><td> x           </td></tr>
          <tr><td> a, b, c     </td><td></td><td> a           </td></tr>
          <tr><td> foo         </td><td></td><td> foo         </td></tr>
          <tr><td> 1, 2, 3     </td><td></td><td> ¿           </td></tr>
        </tbody></table>
      </td>
      <td>
        <table><tbody>
          <tr><td colspan="3"><b>FIT.eg.HeadListOfStr</b></td></tr>
          <tr><td> <i>list</i>                           </td><td></td><td> <i>head?</i>          </td></tr>
          <tr><td>                                       </td><td></td><td class="fit_error">ERROR</td></tr>
          <tr><td> a, b, c                               </td><td></td><td class="fit_right"> a   </td></tr>
          <tr><td> foo                                   </td><td></td><td class="fit_right"> foo </td></tr>
          <tr><td> 1, 2, 3                               </td><td></td><td class="fit_note">  1   </td></tr>
        </tbody></table>
      </td>
    </tr>
  </tbody>
</table>

<br>
</body></html>
